#ifndef __FND_ERROR_LISTS_H__
#define __FND_ERROR_LISTS_H__

#include <SpiFoundation/FndErrorHandling/ErrorHandling.h>

//typedef std::pair<BaseErrorType*,const char*> errpair;

typedef CO::SpiFoundation::ErrorHandling::BaseError BaseErrorType;

class TestErrorLists
{
public:
	std::list<BaseErrorType*> errors;

	TestErrorLists()
	{
		errors.push_back( new BaseErrorType(0) );
	}

	~TestErrorLists()
	{
		for( std::list<BaseErrorType*>::iterator i=errors.begin(); i!=errors.end(); i++ )
			delete *i;
	}
};

#endif // __FND_ERROR_LISTS_H__
